
cap program drop varlabeling
program varlabeling
	version 16.1
	qui ds
	foreach v in `r(varlist)'{
		if ustrregexm("`v'", "_w"){
			label var `v' "Winner"
		}
		else if ustrregexm("`v'", "_l"){
			label var `v' "Losers"
		}
	}
	cap label var dff2_mean_tstat_score "Score" /* ({it:t}-stat)"*/
	cap label var dff2_mean_tstat_price "Price" /* ({it:t}-stat)"*/
	cap label var dff2_mean_tstat_score_wd "Score Weighted" /* ({it:t}-stat)"*/
	cap label var dff2_mean_tstat_price_wd "Price Weighted" /* ({it:t}-stat)"*/
	cap label var dff2_mean_tau_score "Score" /*({it:{&beta}})"*/
	cap label var dff2_mean_tau_price "Price" /* ({it:{&beta}})"*/
	cap label var dff2_mean_tau_score_wd "Score Weighted" /*({it:{&beta}})"*/
	cap label var dff2_mean_tau_price_wd "Price Weighted" /* ({it:{&beta}})"*/
	cap label var dff2_mean_lownumbids "# Valid Bids < 3"
	cap label var dff2_mean_nb_valid "# Valid Bids"
	cap label var dff2_mean_nb "# Bids"	
	cap label var dff2_mean_q_w_wd "Winner (Weighted)"
	cap label var dff2_mean_q_l_wd "Loser (Weighted)"
end